package com.xiangyun.auth.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xiangyun.auth.model.TSysRoleMenuPermission;
import com.xiangyun.auth.model.TSysRoleMenuPermissionVO;


public interface TSysRoleMenuPermissionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TSysRoleMenuPermission record);

    int insertSelective(TSysRoleMenuPermission record);

    TSysRoleMenuPermission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TSysRoleMenuPermission record);

    int updateByPrimaryKey(TSysRoleMenuPermission record);
    
    TSysRoleMenuPermission selectByRoleMenuPermission(TSysRoleMenuPermission tSysRoleMenuPermission);
    
    List<TSysRoleMenuPermissionVO> getRMPByPage(
    		@Param("start") Long start , 
    		@Param("limit") Long limit ,
    		@Param("currentPage") Long currentPage);
    
    List<TSysRoleMenuPermissionVO> selectVOListByPrimaryKey(@Param("id")Long id);
}